/*
 * Copyright © 2023
 * @Author: zhangxiang
 * @Date: 2023-04-06 15:45:02
 * @LastEditors: zhangxiang
 * @LastEditTime: 2023-04-06 17:35:22
 * @Description:
 *
 */

import request from '@/utils/request'

/**
 * @description: 获取算力资源监控-卡片数据
 * @param {*} params
 * @return {*}
 */
export function getMonitorOverview(params) {
  return request({
    url: '/api/monitor/overview',
    method: 'get',
    params
  })
}

/**
 * @description: 获取算力资源监控-top数据
 * @param {*} data
 * @return {*}
 */
export function getMonitorTop(data) {
  return request({
    url: '/api/monitor/detail/top',
    method: 'post',
    data
  })
}
